/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Server.DTO;
import java.util.*;
/**
 *
 * @author Trung
 */
public class Database {
    private String name;
    private String path;
    //private int tableNumber;
    private List<Table> tables;
    
    public Database()
    {
        name = "";
        path = "";
        //tableNumber = 0;
        tables = null;
    }
    
    public Database(String _name, String _path, List<Table> _tables)
    {
        name = _name;
        path = _path;
        //tableNumber = _tableNumber;
        tables = _tables;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the path
     */
    public String getPath() {
        return path;
    }

    /**
     * @param path the path to set
     */
    public void setPath(String path) {
        this.path = path;
    }

    /**
     * @return the tables
     */
    public List<Table> getTables() {
        return tables;
    }

    /**
     * @param tables the tables to set
     */
    public void setTables(List<Table> tables) {
        this.tables = tables;
    }
}
